package nr.nodehost.mapper;
import java.util.*;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import nr.nodehost.model.Node;


@Mapper
public interface NodeMapper {
	public List<Node> listAll();
	public Node find(@Param("id") int id);
	public int getCount();
	public void delete(@Param("id")int id);
	public void update(Node node);
	public void add(Node node);
}
